/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 *
 * Copyright (c) 2013-2014 jfinal app. jfapp Group.
 */

define(['adminapp'], function ($app) {
    $app.navactive('game_game');

    $app.formvalidator({
            'game.category'       : {
                required : true
            },
            'game.name'       : {
                required : true,
                maxlength : 50
            }
        },
        'dataForm');

    $app.uploader({'buttonText': '点击上传游戏海报',width: 140}, 'gameAttachmentUpload');
});

